package com.kws.merchant.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kws.merchant.domain.AfterSalesHistory;

import java.util.List;

/**
 * 售后-保修、故障单历史记录(AfterSalesHistory)表服务接口
 *
 * @author yxy
 * @since 2024-10-23 14:19:54
 */
public interface AfterSalesHistoryService extends IService<AfterSalesHistory> {

    /**
     * 分页查询列表
     */
    Page<AfterSalesHistory> pageList(AfterSalesHistory afterSalesHistory);

    /**
     * 删除售后单记录
     * @param idList
     */
    void removeByAfterSalesNo(String type,List<Long> idList);

    void removeByAfterNo(String afterSalesNo);

    List<AfterSalesHistory> listByWarrantyNo(String warrantyNo);
}
